package org.nfyszny.zzzs.modules.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 企业备案
 * @Author: jeecg-boot
 * @Date: 2022-11-11
 * @Version: V1.0
 */
@Data
@TableName("zzzs_record_enterprise")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "zzzs_record_enterprise对象", description = "企业备案")
public class ZzzsRecordEnterprise implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 所属部门
     */
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**
     * 营业执照
     */
    @Excel(name = "营业执照", width = 15)
    @ApiModelProperty(value = "营业执照")
    private String businessLicense;
    /**
     * 组织机构代码证
     */
    @Excel(name = "组织机构代码证", width = 15)
    @ApiModelProperty(value = "组织机构代码证")
    private String organizationCodeCertificate;
    /**
     * 法人身份证
     */
    @Excel(name = "法人身份证", width = 15)
    @ApiModelProperty(value = "法人身份证")
    private String corporateIdentityCard;
    /**
     * 商标注册证
     */
    @Excel(name = "商标注册证", width = 15)
    @ApiModelProperty(value = "商标注册证")
    private String tradeMarkLicense;
    /**
     * 联系电话
     */
    @Excel(name = "联系电话", width = 15)
    @ApiModelProperty(value = "联系电话")
    private String contactNumber;
    /**
     * 税务登记证
     */
    @Excel(name = "税务登记证", width = 15)
    @ApiModelProperty(value = "税务登记证")
    private String taxRegistrationCertificate;
    /**
     * 企业联系人
     */
    @Excel(name = "企业联系人", width = 15)
    @ApiModelProperty(value = "企业联系人")
    private String corporateContacts;
    /**
     * 企业名称
     */
    @Excel(name = "企业名称", width = 15)
    @ApiModelProperty(value = "企业名称")
    private String corporateName;
    /**
     * 企业地址(经纬度)
     */
    @Excel(name = "企业地址(经纬度)", width = 15)
    @ApiModelProperty(value = "企业地址(经纬度)")
    private String corporateAddress;
    /**
     * 是否注销
     */
    @TableLogic(value = "1", delval = "0")
    private Integer isLogout;
    /**
     * 备案状态
     */
    @Dict(dicCode = "record_status")
    private Integer status;
    @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname")
    private String approverId;

}
